<?php
  $str='';
  $str.=$_POST['sex']."@##@".$_POST['feel']."@##@".$_POST['name']."@##@".time()."@##@".$_POST['title']."@##@".$_POST['con']."\n";
  $data=file_get_contents("mydb.rdb");
  if(file_put_contents("mydb.rdb", $data.$str)){
    echo "<script>alert(\"留言成功，谢谢！\");location.href='msg.php';</script> ";
  }
 
?>
